#ifndef __LIGHT_OF_GUARDIAN_H__
#define __LIGHT_OF_GUARDIAN_H__
#include "gofgame/dungeonkeeper/game/skill/Buffer.h"
#include "gofgame/dungeonkeeper/game/Unit.h"
#include "gofgame/dungeonkeeper/game/Skill.h"

using namespace gofgame::dungeonkeeper::game::skill;
using namespace gofgame::dungeonkeeper::game::unit;

namespace gofgame {
	namespace dungeonkeeper {
		namespace game {
			namespace skill {
				class LightOfGuardian : public Skill{
				public:
					LightOfGuardian(int lv);
					virtual void cast();
					static LightOfGuardian * create(int lv);
					bool init();
					void updateTarget(float dt);
					void addEffectToTarget(Unit * unit);
					~LightOfGuardian();
				};

				class LightOfGuardianBuffer : public Buffer {
				public :
					bool init();
					CREATE_FUNC(LightOfGuardianBuffer);
					void effect(Unit *unit);
					void update(float dt);
				};
			}
		}
	}
}

#endif //__LIGHT_OF_GUARDIAN_H__
